package com.netease.qa.biz.service;

import com.nestease.qa.dao.entity.TestCase;
import com.nestease.qa.dao.params.TestCaseQueryParams;
import com.netease.qa.biz.dto.TestCaseDTO;

import java.util.List;

/**
 * @author zoudongdong
 * @date 2018/3/3
 */
public interface TestCaseService {
    public int getNextTestCaseId();

    public void addTestCase(TestCaseDTO testCaseDTO);

    public boolean ifTestCaseExist(int caseId);

    public List<TestCaseDTO> getTestCaseInCondition(TestCaseQueryParams params);

    public TestCaseDTO getTestCaseDetail(int caseId);

    public void updateTestCase(TestCaseDTO testCase);

    public void deleteTestCase(TestCaseDTO testCase);

    public boolean confirmUser(int caseId,String userId);
}
